import { login_path, getGWRandom_path, pkiLogin_path } from './path';

import { POST, GET } from '@/plugins/axios';

//登录
export const login = (data) => {
  return POST(login_path(), data);
};
//获取pki随机码
export const getGWRandom = (data) => {
  return GET(getGWRandom_path(), data);
};
//pki登录
export const pkiLogin = (data) => {
  return POST(pkiLogin_path(), data);
};
